Name:                   metscrape
Version:                0.0
Description:            Batch-download marine weather forecasts.
License:                GPL-3
License-File:           COPYING
Author:                 Jack Kelly
Maintainer:             jack@jackkelly.name
Build-Type:             Simple
Cabal-Version:          >= 1.8

Library
  Build-Depends:        base,
                        bytestring,
                        containers,
                        directory,
                        filepath,
                        HTTP,
                        hxt,
                        hxt-http,
                        network

  Exposed-Modules:      Menu,
                        Scraper,
                        Scrapers.BOM,
                        Scrapers.BOMText,
                        Scrapers.MetVUW,
                        Text

  Extensions:           DoAndIfThenElse
  HS-Source-Dirs:       src/lib

Executable MetscrapeAUS
  Build-Depends:        base, metscrape
  HS-Source-Dirs:       src/bin
  Main-Is:              MetscrapeAUS.hs

Executable MetscrapeNSW
  Build-Depends:        base, metscrape
  HS-Source-Dirs:       src/bin
  Main-Is:              MetscrapeNSW.hs

Executable MetscrapeVIC
  Build-Depends:        base, metscrape
  HS-Source-Dirs:       src/bin
  Main-Is:              MetscrapeVIC.hs

Executable MetscrapeTAS
  Build-Depends:        base, metscrape
  HS-Source-Dirs:       src/bin
  Main-Is:              MetscrapeTAS.hs

Executable MetscrapeNZ
  Build-Depends:        base, metscrape
  HS-Source-Dirs:       src/bin
  Main-Is:              MetscrapeNZ.hs
